package ua.org.nuos.sdms.middle.util.exception;

import ua.org.nuos.sdms.middle.entity.Group;

/**
 * Created by IntelliJ IDEA.
 * User: dio
 * Date: 25.03.12
 * Time: 18:23
 * To change this template use File | Settings | File Templates.
 */
public class OneGroupLeaderException extends Exception {

    private Group group;

    public OneGroupLeaderException(Group group) {
        this.group = group;
    }

    public OneGroupLeaderException(String s, Group group) {
        super(s);
        this.group = group;
    }

    public OneGroupLeaderException(String s, Throwable throwable, Group group) {
        super(s, throwable);
        this.group = group;
    }

    public OneGroupLeaderException(Throwable throwable, Group group) {
        super(throwable);
        this.group = group;
    }

    public Group getGroup() {
        return group;
    }

    public void setGroup(Group group) {
        this.group = group;
    }
}
